package com.zcsy.commons.model;


import java.io.Serializable;


/**
 * 前台请求参数
 * 
 * @author tanghan
 */
public class RequestJson implements Serializable {

    private boolean success = false;
    
    private int resultCode;

    private String msg = "";

    private Object obj = null;
    

    public RequestJson() {
        super();
        this.success =true;
    }

    public int getResultCode() {
		return resultCode;
	}

	public void setResultCode(int resultCode) {
		this.resultCode = resultCode;
	}

	public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "RequestJson [success=" + success + ", msg=" + msg + ", obj=" + obj + "]";
    }

}
